<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<title>电子档案管理系统</title>
<link rel="stylesheet" type="text/css" href="${ctx }/css/css.css" />
<script type="text/javascript" src="${ctx }/js/jquery-1.7.min.js" ></script>
<script src="${ctx }/js/jquery.flexslider-min.js"></script>
<!--[if lte IE 6]>
<script src="${ctx }/theme01/js/DD_belatedPNG_0.0.8a.js" type="text/javascript"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.shequliuyang,.dengbbeij,.dengbbeijshuruk,.dengbbeijlogo,.jjxinxi,ul, img, li, input , a, .png_bg');
/* 将 .png_bg 改成你应用了透明PNG的CSS选择器*/
</script>
<![endif]--> 
<!-- js调用部分begin -->
<script type="text/javascript">
	$(window).load(function() {
		var ultouchLidenglu = $(".dengbbeijwaimian");
		ultouchLidenglu.css("height",$(window).height()-41+"px");
	});
	$(window).resize(function() {
		var ultouchLidenglu = $(".dengbbeijwaimian");
		ultouchLidenglu.css("height",$(window).height()-41+"px");
	});
</script>
<script>
$(function(){
	$('.flexslider').flexslider({
		directionNav: true,
		pauseOnAction: false
		
	});
});
</script>
<script type="text/javascript">
	function qingKong(){
		$("#yhbh").val("");
		$("#yhmm").val("");
	}
	 $(function(){
	        $('#mm').bind('keypress',function(event){
	            if(event.keyCode == "13"){
	            	var yhm = $("#yhdh").val();
	        		var mm = $("#mm").val();
	            	if(yhm=="请输入用户名"&&mm==""){
	            		alert("用户名或密码不能为空");
	            		 
	            	}else{
	            		$("#form1").submit();
	            	}
	               
	            }
	        });
	    });
</script>
<!-- js调用部分end -->
</head>
<body style="background:#f2f2f2;">
<div class="dengludiv1">
    <div class="dengludiv1-1">
    	<img src="${ctx }/images/loginpic2.jpg" class="dengludiv1-img" />
        <div class="dengluloginzuiwaim">
      </div>
    </div>
</div>
<div class="dengludiv2">
	<div class="dengludiv2-1">
    	
        <!-- 代码begin -->
<div class="flexslider">
	<ul class="slides">
		<li style="background:url(${ctx }/images/img1.jpg) 50% 0 no-repeat;"></li>
		<li style="background:url(${ctx }/images/img2.jpg) 50% 0 no-repeat;"></li>
	</ul>
</div>
<!-- 代码end -->
    </div>
</div>
<div class="dengludiv3">
	<div class="dengludiv3-1">
            <div class="denglucenter">
            	<form id="form1" action="${ctx }/login/login.htm" method="post">
	            	<h2 style=" font-size: 12px;line-height: 25px; color:#ec911b; padding: 8px 0 17px 26px; text-align: left;">登录
		            	<span style=" color: #807f7f; margin: 0 0 0 4px;">LOGIN</span>
	            	</h2>
	            	<div class="denglucenter11">                
	                    	<input class="denglucenterin1" type="text"  id="yhdh" name="yhdh" value="请输入用户名" onblur="if(this.value==''){this.value='请输入用户名';}" onfocus="if(this.value=='请输入用户名'){this.value=''}" onkeypress="if(event.keyCode == '13'){$('#yhmm').focus()}"/>
	                    <div class="denglucentersp"></div>
	                    	<input class="denglucenterin2" type="password" id="mm" name="mm" value="" />
	                    <div class="denglucentersp"></div>
	                </div>
	                <c:if test="${data != null}">
       							<span style="color:red;float:left; width: 242px;">${data }</span>
      		 				</c:if> 
                   	 <div class="denglucenter3">
                           <a href="#" onclick="$('#form1').submit()">登录</a>                        
                      </div>
                 </form>
            </div>
    </div>
</div>
<div class="footerbu"><span>版权所有：安徽省公安厅交通警察总队&nbsp;&nbsp;&nbsp;&nbsp;技术支持：安徽虹湾信息技术有限公司</span></div>
<%-- <div class="footerbu"><span>公路电子监控集中管理与展示系统</span>&nbsp;&nbsp;&nbsp;&nbsp;<a style=" color: #ec911b;" href="${ctx }/js/nViewCtrl/nViewCtrl_setup_v3.6.8.8_20160104.exe">(下载播放视频插件)</a></div>
 --%></body>
</body> 
</html>